package com.koron.order.linedefect.base.mapper;

import com.koron.order.linedefect.base.bean.po.DefectExecute;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (DefectExecute)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-03 16:48:35
 */
public interface DefectExecuteMapper {

    DefectExecute queryById(String id);

    List<DefectExecute> queryList(DefectExecute defectExecute);

    int insert(DefectExecute defectExecute);

    int update(DefectExecute defectExecute);

    int deleteById(String id);

    int insertBatch(@Param("list") List<DefectExecute> defectExecuteList);

    int deleteByOrderId(String orderId);

    int insertOrUpdate(DefectExecute defectExecute);

    int deleteByOrderExecuteId(String executeId);
}